package start.demo01;

import io.lettuce.core.RedisClient;
import io.lettuce.core.api.StatefulRedisConnection;
import io.lettuce.core.api.sync.RedisCommands;
import org.junit.Test;

public class RedisOprations {

    @Test
    public void t0(){
        RedisClient client = RedisClient.create("redis://localhost");
        StatefulRedisConnection<String, String> connect = client.connect();
        RedisCommands<String, String> sync = connect.sync();
    }

}
